package comxinthrow1;

public class thrower2 {
    public static void main(String[] args) {
        System.out.println("开始");
        method();
        System.out.println("结束");
    }
    private static void method ()  {
        int[] a=new int[3];
        try {
            System.out.println(a[4]);
//            int i;
//            i=1/0;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
